//
//  LuanTanViewController.m
//  数码时代App
//
//  Created by dlios on 15-1-6.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "LuanTanViewController.h"
#import "FourScrollModel.h"
@interface LuanTanViewController ()

@end

@implementation LuanTanViewController
-(void)dealloc
{
    [_model release];
    [super dealloc];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view setBackgroundColor:[UIColor whiteColor]];
    [self WebView];
    // Do any additional setup after loading the view.
}
-(void)WebView
{
    UIWebView *web = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0,self.view.frame.size.width, self.view.frame.size.height - 113)];
    [self.view addSubview:web];
    NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString:self.model.uri]];
    [web loadRequest:request];
     [web setScalesPageToFit:YES];
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
-(void)getModelLunTan:(FourScrollModel*)model
{
    self.model = model;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
